package top.oylan.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.oylan.manager.entity.Liked;
import top.oylan.manager.entity.example.LikedExample;

@Mapper
public interface LikedMapper {
    long countByExample(LikedExample example);

    int deleteByExample(LikedExample example);

    int insert(Liked record);

    int insertSelective(Liked record);

    List<Liked> selectByExample(LikedExample example);

    int updateByExampleSelective(@Param("record") Liked record, @Param("example") LikedExample example);

    int updateByExample(@Param("record") Liked record, @Param("example") LikedExample example);

    int updateByIdSelective(Liked liked);
}